package com.qiuyuliantu.base.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.qiuyuliantu.common.annotation.Excel;
import com.qiuyuliantu.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 平台对象 qiu_platforms
 *
 * @author lmx
 * @date 2025-04-08
 */
public class QiuPlatforms extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 平台唯一标识 */
    private Long platformId;

    /** 平台名称 */
    @Excel(name = "平台名称")
    private String platformName;

    /** 平台链接地址 */
    @Excel(name = "平台链接地址")
    private String platformUrl;

    /** 平台Logo链接 */
    @Excel(name = "平台Logo链接")
    private String platformLogo;

    /** 平台描述 */
    @Excel(name = "平台描述")
    private String platformRemark;

    /** 链接类型 */
    @Excel(name = "链接类型")
    private String linkType;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 一级分类 */
    @Excel(name = "一级分类")
    private String firstLevelCategories;

    /** 平台类型 */
    @Excel(name = "平台类型")
    private String type;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updatedBy;

    /** 删除标志（0代表存在，2代表删除） */
    private String delFlag;

    /** 二级分类 */
    @Excel(name = "二级分类")
    private String secondLevelCategories;

    public void setPlatformId(Long platformId)
    {
        this.platformId = platformId;
    }

    public Long getPlatformId()
    {
        return platformId;
    }
    public void setPlatformName(String platformName)
    {
        this.platformName = platformName;
    }

    public String getPlatformName()
    {
        return platformName;
    }
    public void setPlatformUrl(String platformUrl)
    {
        this.platformUrl = platformUrl;
    }

    public String getPlatformUrl()
    {
        return platformUrl;
    }
    public void setPlatformLogo(String platformLogo)
    {
        this.platformLogo = platformLogo;
    }

    public String getPlatformLogo()
    {
        return platformLogo;
    }
    public void setPlatformRemark(String platformRemark)
    {
        this.platformRemark = platformRemark;
    }

    public String getPlatformRemark()
    {
        return platformRemark;
    }
    public void setLinkType(String linkType)
    {
        this.linkType = linkType;
    }

    public String getLinkType()
    {
        return linkType;
    }
    public void setCreatedBy(String createdBy)
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy()
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }
    public void setFirstLevelCategories(String firstLevelCategories)
    {
        this.firstLevelCategories = firstLevelCategories;
    }

    public String getFirstLevelCategories()
    {
        return firstLevelCategories;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setUpdatedTime(Date updatedTime)
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime()
    {
        return updatedTime;
    }
    public void setUpdatedBy(String updatedBy)
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy()
    {
        return updatedBy;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setSecondLevelCategories(String secondLevelCategories)
    {
        this.secondLevelCategories = secondLevelCategories;
    }

    public String getSecondLevelCategories()
    {
        return secondLevelCategories;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("platformId", getPlatformId())
            .append("platformName", getPlatformName())
            .append("platformUrl", getPlatformUrl())
            .append("platformLogo", getPlatformLogo())
            .append("platformRemark", getPlatformRemark())
            .append("linkType", getLinkType())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("firstLevelCategories", getFirstLevelCategories())
            .append("type", getType())
            .append("updatedTime", getUpdatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("delFlag", getDelFlag())
            .append("secondLevelCategories", getSecondLevelCategories())
            .toString();
    }
}
